package com.taikang.hmp.frame.common.chat;

import java.sql.Connection;

/**
 * Created by reed on 2014/12/17.
 */
public interface DBConnectionService {

    /**
     * 根据配置信息取得数据库连接
     * @param driverClassName
     * @param url
     * @param userName
     * @param password
     * @return
     */
    public Connection getConnection(String driverClassName, String url, String userName, String password);
}
